public class Arc {
    //弧尾状态
    State start;
    int r_start;
    //弧头状态
    State end;
    int r_end;
    //转换条件
    Character access;


    public Arc() {
    }

    public Arc(int r_start, int r_end, Character access) {
        this.r_start = r_start;
        this.r_end = r_end;
        this.access = access;
    }

    public Arc(State start, State end, Character access) {
        this.start = start;
        this.end = end;
        this.access = access;
    }

    public Arc(State start, State end) {
        this.start = start;
        this.end = end;
    }

    @Override
    public String toString() {
        return "Arc{" +
                "start=" + start +
                ", end=" + end +
                ", access=" + access +
                '}';
    }
}
